/*
 * @Author: liqiang liqiang@hacint.com.cn
 * @Date: 2023-08-19 14:00:32
 * @LastEditors: liqiang liqiang@hacint.com.cn
 * @LastEditTime: 2023-08-19 17:59:14
 * @FilePath: \USERf:\WorkTest\WireTest4096\PIM4096MotherBoard\WireTest4096 V1.01.01\MidWare\DataTable\ParaConfig.h
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
 /**
 * @file ParaConfig.h
 * @author liqiang (liqiang@hacint.com.cn)
 * @brief 
 * @version 1.0.0
 * @date 2023-08-19
 * 该文档配置一些常用的变量，便于其他文件引用
 * 
 */

#ifndef _PARA_CONFIG_H
#define _PARA_CONFIG_H
 

 
 
typedef struct {
    unsigned    int usedPinMax; /*用户使用的最大点*/
    unsigned    int pinNumberMax;/*板子支持的最大点位*/

}PinNum_TypeDef;


typedef union {
    unsigned    short   setTimeCnt;
    struct {
        unsigned    char    Time;
        unsigned    char    Cnt  ;
    }Set ;
}LocalSignal_TypeDef;
 
 





/**
 * @brief 对外的API接口函数
 * 
 * @return unsigned    short 
 */
 
unsigned    short    CheckPinNumberMax(void) ;
unsigned    short   GetPinNumMax(void)  ;
void    SetPinNumMax(void)              ;

void    CheckUserUsedPinNum(void)       ;
unsigned        short    GetUserUsedPinNum(void);
void    SetUserUsedPinNum(unsigned short number);

unsigned        char GetLocalSignalWaitTime(void);
void    SetLocalSignalWaitTime(unsigned char time);
unsigned        char GetLocalSingalSetCount(void) ;
void    SetLocalSingalSetCount(unsigned short count);
unsigned        short   GetLocalSignal(void)    ;
void    SetLocalSignal(unsigned short signal)   ;


#endif
